(defun leam-load()
  (local-load "leam-packages.lisp")
  (local-load "leam-io-stream.lisp")
  (local-load "leam-data-stream.lisp")
  (local-load "leam-errors.lisp")
  (local-load "leam-handler.lisp")
  (local-load "leam-stream.lisp")
  (local-load "leam-server.lisp")
  (local-load "leam-io-stream-test.lisp")
  (local-load "leam-data-stream-test.lisp")
  (local-load "leam-stream-test.lisp")
  (local-load "leam-basic-socket-test.lisp")
  (local-load "leam-test.lisp") ;run all the tests
  )

(defun leam-load-all()
  (load (merge-pathnames "../../lisp/setup.lisp" *load-pathname*))
  (leam-load))

(leam-load-all)